package com.googlecode.jsimplemarket.wicket.components.grid;

import org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;

/**
 *
 * @author alex
 */
public abstract class PopUpPanel extends Panel {
    private ModalWindow window;
    
    public PopUpPanel(String id) {
        super(id);
    }
    
    public PopUpPanel(String id, IModel<?> model) {
        super(id, model);
    }

    public ModalWindow getWindow() {
        return window;
    }

    public void setWindow(ModalWindow window) {
        this.window = window;
    }
}
